package com.example.demo.dao;

import org.jooq.DSLContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import java.lang.reflect.Type;
import java.util.List;
import java.util.Optional;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: deep
 * \* Date: 17-9-10
 * \* Time: 下午1:59
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */

public class BaseDaoImpl<T>  {

    @Autowired
    private DSLContext dslContext;
    private Logger logger = LoggerFactory.getLogger(this.getClass());


    public DSLContext getDslContext() {
        return dslContext;
    }

    public void setDslContext(DSLContext dslContext) {
        this.dslContext = dslContext;
    }


    public Logger getLogger() {
        return logger;
    }

    public void setLogger(Logger logger) {
        this.logger = logger;
    }

}